import Vue from "vue";
import App from "./App.vue";
import {router} from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "@/utils/flexible";
import http from "@/utils/http";
import "animate.css";
//引入全局样式
import "@/style/main.scss";
//引入iconfont图标
import "@/assets/iconfont/iconfont.js";
// 全局注册iconfont组件
import IconSvg from "@/components/iconfont";
//引入全局方法
import utils from "@/utils/util.js";
//引入路由守卫
import "@/router/routeSafe";
//引入mockjs
import "@/utils/mock.js"
Vue.component("icon-svg", IconSvg);
Vue.config.productionTip = false;
Vue.prototype.axios = http;
Vue.use(utils);
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
